package com.cn.ant.modules.score.dao;

import com.cn.ant.common.persistence.CrudDao;
import com.cn.ant.common.persistence.MyBatisRepository;
import com.cn.ant.modules.score.entity.SchoolLqRate;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 学校录取概率DAO接口
 * @author 黄根华
 * @version 2015-10-11
 */
@MyBatisRepository
public interface SchoolLqRateDao extends CrudDao<SchoolLqRate> {
    public int batchInsert(List<SchoolLqRate> list);

    public List<SchoolLqRate> query(Map<String, Object> params);

    public List<SchoolLqRate> queryWithOutMajor(Map<String, Object> params);

    public int deleteByYear(@Param("year") int year, @Param("province") String province);

    public Double queryRate(Map<String, Object> params);
}